$(function (argument) {
  $("#submitBtn").click((event) => {
    event.preventDefault();
    $.ajax({
      url: "/api/login",
      type: "get",
      data: {
        username: $("#username").val(),
        password: $("#password").val(),
      },
      dataType: "json",
      success: function (data) {
        console.info(data);
      },
      error: function () {
        alert("error");
      },
    });
  });
});
